<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>{$title} - <tp:sitename /></title>
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <link rel="shortcut icon" href="__PUBLIC__/images/favicon.ico" type="image/x-icon" /> 
    <link rel="stylesheet" href="__PUBLIC__/css/style_version1.css" type="text/css" />
    <link href="__PUBLIC__/css/member.css" rel="stylesheet" type="text/css" />
    <script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
</head> 
<body> 

<include file="Public:header" />

<div class="container clearfix">
    
    <include file="Member:left" />
    
    <div class="member_main" id="member_index">
    	<div class="perInfo">
            <div class="titleInfoBorder">
                <span>我的投稿</span>
                <a class="want" href="{:U('Member/article')}">更多&gt;&gt;</a>
            </div>
            <notempty name='article'>
            <div class="indexBlock">
                <ul>
                	<volist name="article" id="art">
                	<li><a href="{$art.url}" target="_blank">{$art.title}</a>&nbsp;
                    <if condition="$art['status'] eq 0">[已删除]<elseif condition="$art['status'] eq 1" />[已审核]<else />[未审核]</if>
                    <span>浏览（{$art.click}）</span>
                    <span>评论（{$art.comment}）</span>
                    </li>
                    </volist>
                </ul>
            </div>
            <else/>
            <div class="infoNoData">
                你还没有发表过文章呢，快去 <a href="{:U('Member/article_add')}">投稿</a> 吧。
            </div>
            </notempty>
        </div>
        <div class="perInfo">
            <div class="titleInfoBorder">
                <span>我的帖子</span>
                <a class="want" href="{:U('Member/forum')}">更多&gt;&gt;</a>
            </div>
            <notempty name='forum'>
            <div class="indexBlock">
                <ul>
                	<volist name="forum" id="forum">
                	<li><a href="{$forum.url}" target="_blank">{$forum.title}</a>&nbsp;
                    <if condition="$forum['status'] eq 0">[已删除]<elseif condition="$forum['status'] eq 1" />[已审核]<else />[未审核]</if>
                    <span>浏览（{$forum.click}）</span>
                    <span>评论（{$forum.comment}）</span>
                    </li>
                    </volist>
                </ul>
            </div>
            <else/>
            <div class="infoNoData">
                你还没有发表过帖子呢，快去 <a href="{:U('Member/forum_add')}">发表</a> 吧。
            </div>
            </notempty>
        </div>
        <div class="perInfo">
            <div class="titleInfoBorder">
                <span>我的评论</span>
                <a class="want" href="{:U('Member/comment')}">更多&gt;&gt;</a>
            </div>
            <notempty name='comment'>
            <div class="indexBlock">
                <ul>
                	<volist name="comment" id="comment">
                	<li>
                    	<div class="title">
                        <php>
                        $info = get_arcticle($comment['postid'],$comment['modelid']);
                        </php>
                            我在（{$comment.posttime|date='Y-m-d H:i:s',###}）评论 <a class="blue" target="_blank" href="{$info['url']}"> {$comment['title']}</a> 说：{$comment.content}
                        </div>
                    </li>
                    </volist>
                </ul>
            </div>
            <else/>
            <div class="infoNoData">
                暂无评论
            </div>
            </notempty>
        </div>
        <div class="perInfo">
            <div class="titleInfoBorder">
                <span>我的回复</span>
                <a class="want" href="{:U('Member/reply')}">更多&gt;&gt;</a>
            </div>
            <notempty name='reply'>
            <div class="indexBlock">
                <ul>
                	<volist name="reply" id="reply">
                	<li>
                    	<div class="title">
                            我在（{$reply.posttime|date='Y-m-d H:i:s',###}）回复 <a class="blue" target="_blank" href="{$reply['url']}"> {$reply['title']}</a> 说：
                            <div style="padding:10px 0;">{$reply.content}</div>
                        </div>
                    </li>
                    </volist>
                </ul>
            </div>
            <else/>
            <div class="infoNoData">
                暂无回复
            </div>
            </notempty>
      	</div>
        
    </div>
    
</div>

<include file="Public:footext" />
<include file="Member:mfooter" />

</body>
</html>
